(function(t){"use strict";var e=function(){function t(e){babelHelpers.classCallCheck(this,t);this.host="http://localhost";this.port="8098";this.script=null;this.changeToast=false;if(!navigator.userAgent.toLowerCase().includes("chrome")&&!navigator.userAgent.toLowerCase().includes("firefox")){this.changeToast=true;console.info("Install the Vue Remote Devtools application for a better development experience: https://github.com/vuejs/vue-devtools/blob/master/shells/electron/\n"+"For connect to localhost use %cBX.VueDevTools.connect();%c for remote host %cBX.VueDevTools.connect('__devtools_ip_address__');","font-weight: bold","font-weight: initial","font-weight: bold","font-weight: initial")}}babelHelpers.createClass(t,[{key:"connect",value:function t(e){if(this.script){document.body.removeChild(this.script)}if(e){this.setUrl(e)}window.__VUE_DEVTOOLS_HOST__=this.host;window.__VUE_DEVTOOLS_PORT__=this.port;this.script=document.createElement("script");if(this.changeToast){this.script.addEventListener("load",this.load.bind(this))}this.script.src=__VUE_DEVTOOLS_HOST__+":"+__VUE_DEVTOOLS_PORT__;document.body.appendChild(this.script);return true}},{key:"reconnect",value:function t(){this.connect()}},{key:"setUrl",value:function t(){var e=arguments.length>0&&arguments[0]!==undefined?arguments[0]:"localhost";if(!e.startsWith("http")){e="http://"+e}var o=e.split(":");if(o.length>2){this.host=o.slice(0,2).join(":");this.port=o[2]}else{this.host=e;this.port="8098"}return this}},{key:"load",value:function t(){var e=this;window.__VUE_DEVTOOLS_TOAST__=new Proxy(window.__VUE_DEVTOOLS_TOAST__,{apply:function t(o,i,n){if(n[0].toString().toLowerCase().includes("disconnect")){console.info("%cDevTools:%c try to reconnect, if vue-devtools is not running, run and call %cBX.VueDevTools.reconnect();","font-weight: bold","font-weight: initial","font-weight: bold");setTimeout(function(){return e.reconnect()},5e3)}return o.apply(i,n)}})}}]);return t}();var o=new e;t.VueDevTools=o})(this.BX=this.BX||{});
//# sourceMappingURL=devtools.bundle.map.js